#pragma once
#include <windows.h>
#include <Tlhelp32.h>
#include <TCHAR.h>

class CRemoteThread
{
public:
	CRemoteThread(void);
	virtual ~CRemoteThread(void);

	BOOL InitializeTargetProcess(TCHAR* szProcessName);	
	BOOL GetTargetProcessHandle();
	BOOL InjectDLL(TCHAR* szDllName);
	BOOL StartInjection(TCHAR* szProcessName);

private:
	TCHAR m_szTargetProcessName[MAX_PATH];
	HANDLE m_hTargetProcess;

	PROCESSENTRY32 m_psEntry;
};